package com.woniu.gf.pawn.shopweb.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.gf.pawn.comm.core.domain.Shop;
import com.woniu.gf.pawn.comm.core.domain.Store;
import com.woniu.gf.pawn.shopparam.ShopParam;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author TL
 * @since 2020-10-13
 */

public interface ShopMapper extends BaseMapper<Shop> {



    IPage<Shop> findShopInfo(Page<Shop> productEntityPage, @Param("shopName") String shopName,@Param("managerId")  Integer managerId,@Param("status") String status);

    List<Store> findStore(Integer shopId);

    ShopParam findOneShopInfo(Integer shopId);
}
